<?php 
$student_id = $_SESSION['student_id'];
$pagetitle = $_SESSION['pagetitle'];
$action = $_SESSION['action'];
$name =$_SESSION['name'];
$birthday = $_SESSION['birthday'];
$edu_system = $_SESSION['edu_system'];
$branch = $_SESSION['branch'];
$course = $_SESSION['course'];
$button = $_SESSION['button'];
?>
<form class="gform" action="?<?php htmlout($action);?>" method="post">
	<!-- Title of form -->
	<div class="entry legend"><?php echo $pagetitle?></div>
	
	<?php include '/includes/error-out.php' ?>
	
	<!-- Student ID -->
	<div class="entry">
		<label class="label" for="student_id" >Mã số sinh viên</label>
		<input class="field" type="text" name="student_id" id="student_id" value="<?php htmlout($student_id);?>" />
	</div>
	
	<!-- Student Name -->
	<div class="entry">
		<label class="label" for="name" >Họ tên</label>
		<input class="field" type="text" name="name" id="name" value="<?php htmlout($name);?>" />
	</div>
	
	<!-- Student Birthday -->
	<div class="entry">
		<label class="label" for="birthday">Ngày sinh</label>
		<input class="field" type="text" name="birthday" id="birthday" value="<?php htmlout($birthday);?>" />
	</div>
	
	<!-- Education System -->
	<div class="entry">
		<label class="label" for="edu_system">Hệ đào tạo</label>
		<select class="field width10px" name="edu_system" id="edu_system" onmousedown="selChanged( 'edu_system', 3)">
				<option selected="selected" value="<?php htmlout($edu_system);?>"><?php htmlout($edu_system);?></option>
				<option value="Đai Học">Đại Học</option>
				<option value="Cao Đẳng">Cao Đẳng</option>
				<option value="Trung Cấp">Trung Cấp</option>
		</select>
	</div>
	
	<!-- Branch -->
	<div class="entry">
		<label class="label" for="branch">Ngành học</label>
		<select class="field width10px" name="branch" id="branch" onmousedown="selChanged( 'branch', 4)">
				<option value="<?php htmlout($branch);?>" selected="selected"><?php htmlout($branch);?></option>
				<option value="Công Nghệ Thông Tin">Công Nghệ Thông Tin</option>
				<option value="Quản Trị Kinh Doanh">Quản Trị Kinh Doanh</option>
				<option value="Tài Chính Ngân Hàng">Tài Chính Ngân Hàng</option>
				<option value="Hệ Thống Thông Tin Kinh Tế">Hệ Thống Thông Tin Kinh Tế</option>
			</select>
	</div>
	
	<!-- Course -->
	<div class="entry">
		<label class="label" for="course">Khóa học</label>
		<input class="field" type="text" name="course" id="course" value="<?php htmlout($course);?>" />
	</div>

	<!-- Submit -->
	<div class="entry">
		<input type="hidden" name="old_student_id" id="old_student_id" value="<?php htmlout($student_id);?>" />
		<input class="button" type="submit" value="<?php htmlout($button);?>" />
	</div>
</form>